/**
 * Created by Samuel on 16/10/19.
 */
var viewModel = function () {
    var self = this;
    self.showdata = "showData"
    return self;
}

var alloc = new viewModel()
var bbb = ko;
bbb.applyBindings(alloc,document.getElementById('test2'));